Added logic for typing multiple instructions. Now able to type fib.