kevin Bacon Number written as a school project with friends. Uses Graphs