[erlang] Add Leap Year solution