Modified class VCompiler

Added a new member currModule which points to the current module. Currently need to get determine whether indexing is zero based or one based.
Modified VCompiler

Added getter setter methods for currModule member.
Modified indexExpressions

Instead of blindly subtracting index_diff from the indices we use  m_zeroIndex inside the currModule to check whether subraction with one is required.