Create LoopsHomework.java

ex1 and ex2