Created 'trouble' application for lab 4