Add life.cpp
Merge https://github.com/seowyanyi/Stanford-CS106B