Merge pull request #2 from AmitThakkar/master

Adding code blocks for function calls.
Merge pull request #3 from AmitThakkar/master

Moving functions to prototype because in JavaScript functions are data s...