Attaching code here, not able to submit. Error saying bad gateway. So attaching code as a text file. Sorry for the trouble.
Error on submitting question
Experts Exchange is temporarily unavailable.
We are working hard to restore our services. We apologize for the inconvenience.
If you have any questions or concerns, please contact Customer Service.
The web server reported a bad gateway error.
Ray ID: 2354a761225325b5
Your IP address: 188.8.131.52
Error reference number: 502
CloudFlare Location: Chicago