Splitting

Added a splitting function for the player, changed the logic to allow
splits