Good idea
...But your implementation could have used a lot of work. 'Efficiency' is a little too vague to properly gauge the readability of the finished writing: I could paint the sky white and still beat the level.
I'm not sure how best to incorporate a function that judges the finished product, but it needs to be figured out before you attempt a project like this again.