Create SquareNum.java

string split regular expression trick