Added function and test for the paytable
implemented pay table - tes is PASSSING
fixed merged conflicts. Implemented the paytable