HW2

Mostly done, just the difference method has some issues. Work on the
logic.