Update velasco_rolando_assignment4.js

wrote code for function titleCaseString, added to main code to test new function.