Add Java solution for SplitTheNumber
Add Java solution for TheMajorElement