Started on lab3, lots of messy code but part1 might be done soon..