Completed sum function
Added tests for sum function
Added tests for isOnlyWhitespace function
Completed isOnlyWhitespace function