fixes and functions added

insList added
initInsFile fixed to use unsigned instead of string
now using these functions on main.c