class exercise to build an interactive robot