adds some graph position calculation code to ChallengeGraph

(github issue #27)