Task 2 and 4 done

The difficulty and game type(div or sub) works properly now.
The submit button is also working properly.