Outputs which file is being analysed

When analysis begins, the current file being analysed is printed.
Related to Issue #53
Bug and error fixes in code

Fixed some variable naming errors, and array accessing errors.