Minor changes to main method.
Renamed addtask and edittask to addassignment and aditassignment.