Added error reporting and added error handling for multiple decimals
Added error tokens
Added comments