added the third layer for assignment 2, as well as worked on outputs.