Working through a CS course, building tetris starting from NAND