Refactored some aspects of splitR private method. Some casts are not needed anymore
Created splitAt method
Created tests for splitAt method for Map class