Justin got the basics working.  Needs lots of love - removing prints, drying code, json input/output - but it is moving in the right direction.