added generation of more random problems

implemented random problem generation and debugging capability
added analytical output