saved up the code before lunch time, incomplete handle_INSERT function
Completed function handle_ESCAPE, added function consoleClearLine(), printBuffer(buffer) and printBufferTill(buffer,length)