Correcting and implementing API

Used ComputerCraft API and corrected some of your lua.