Final commit for hackathon, added in path calculation