Added part one of assignment 4