Coursework 2 nearly done