added all code for all pegs and all goals. needs refinement for full score