finished implementing dynamic programming algorithm; need to back track to build final solution