Now ignores spaces between operators, and introduced a function to get a complete identifier from stdin (alphanumeric, starts with a letter)