Adds a Thread Graphics example

The thread allows to change the bouncy ball's velocity by changing the
thread's sleep time.