[E] Draw Trail Improved

Draw trail function has been improved and the code is now ready for the
character writing recognition.