No restriction on size of the binary.

1. Added dynamic allocation of memory for function
   Virtual address array
2. Except commenting, other things done