https://medium.com/@haider.mtech2011/javascript-programming-for-beginners-understanding-reverse-integers-231d55b5837a