doing some refactoring to distingish between data types
Refactored the way arrays and parenthesis groups were lexed