Solution Assignment 0 Task 3 & 4