bound finder and graph drawing

updated the unintuitive graph drawing funcionality and wrote a bound
finder.