problem2.erl working...