HW1 submission

Hi Roger,

It seems that I have pulled to the wrong repo. I have revised my functions so that they are, hopefully, slightly faster. Could you time them sometime and check my submission format is OK? Thanks.