Fixed bugs with sorting, and made window default to left side of screen

Entry
 - changed shift value of month and year, they were overlapping with day
 - changed parseMonth method return type to int

Lister
 - Made total number of events to display a global variable maxEntry

MainWindow
 - created variable for x position of the window and total events
 to display