Organised code, added some new stuff, removed unnecessary note comments, still need to rethink and come up with a proper line solving algorithm