updated use of reserved keywords like "in", "for" and "return" as function names

Using reserved keywords like "for", "in" and "return" as function names created problems in IDE like Eclipse. So they are updated to "For", "In" and "Return" respectively.