Update assignment3.hs

I tried to implement most of my steps. If they are wrong, feel free to change them, but I thought I would give everyone a good place to start from.