Software AG Interview Question

Implement notepad