Added code to switch the weapon

Added code in PlayerCharacter
Added an additional condition when pressing "Q" to avoid rapid switching