Working keyboard function

The keyboard function is now working and returns the value that was
pressed in the A register. Need to come up with some convections. Not
sure if the A register, D register or the stack is the best way to return
value from subroutines. Happy that this is working :)