Written most of the code for assignment1, but no analysis yet