Implemented solution for CodeEval's Text to Number challenge
https://www.codeeval.com/open_challenges/110/