added a header file in addition to some changes to allow for multiple game calculations