Added specs2 and implement reverse integer