Add a textBox which gets dynamically updated.

Currently it just prints the frequency array, but we should
add a queue for the maintaining a list of the last 5 numbers.

The frequency array should be displayed in the form of an graph.

Signed-off-by: Prashant Malani <p.malani@gmail.com>