add problem function
Add problem