added missing CMakelists and hw4 cpp fix from last commit