Create for_loop.java

Sample code for Saylor foundation homework