Updated task 3, added task 3.1

Added exception information to task 3, partially finished task 3.1.