Made the first attempt to do my assignment