errors handle, respective to input2.txt. Handling of whiles,switches, functions, assignments