Proposed solution to trello's coding challenge