updated more solutions to hw2. Grid still not implemented