Completed #3 and #4, added utils.erl