cleaned up homework a bit

added some solutions to the code directory