Made some progress on ps2 interface.

Implemented tri-state buffers.
Started on state-machine.

falling_edge detection must be dealt with!