various guard clause, if and case samples along with an accumulator example