Created and added Title-Case String Function and added the main code