Assignment 4 for 5103