create main and gui class. import puzzle class