Resolves #38, enables sorting Task objects by due

> Implemented compareTo function in Task class