Completed hw1 and added Spark and Freemarker samples.