Added mode 4 for handwriting implementation

Work in progress