Added use for the keyTyped() method. The method now adds whichever character is typed into a fixed-size character array which is called the character buffer.

If the buffer is filled, then no new characters will be accepted.

When the buffer is gotten using the getCharacterBuffer() method, then a copy of the buffer is returned while the actual buffer is reset to its original state.