Added function validateStringLength()
Spellchecked..
Removed some sysouts
String length validation fixed