Finished some EC of assignment 6.