edit class Caesar, Null, Reverse, Substitution

used foreach with lambda and StringBuffer