Created History class for storing operation history and added switch statements to identify button press in event handler functions in Calculator_Main