Fixed J & K
Finalised Buffer implementation. Added undo