added and tested a versatile swap method. also created a player class w/ vars