add input and output rules to readme
add test for finding shortest path
add tests for finding start and end point
implement code to find start and end point