Combined robot and UI code, added timer

QTimer controls period for updating robot positions and direction based
on lights.