Write a method called wordCount that accepts a String as its parameter and returns the number of words in the String. A word is a sequence of one or more nonspace characters
http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String)
Splits this string around matches of the given regular expression.