added random problem generator, simple draft of UI