1. Resolved Problem#10 : Encode list. 2. Refactor other functions of same type.