Created a function for swapping the player's weapon. Fixes #47