bridge puzzle - CS212 at Udacity.com