Fixed parsing of numbers. Now uses 'read' to convert numbers to the native Haskell representation