Add tutorial code (won't be implemented in time for submissions)
Fixed an IndexOutOfBounds issue too