Add Task9 and Task10. Perform refactoring. create method in Demo that
runs all examples. Change main method in Demo.java, so Sonar could
properly build project.