SuperCard exercise from CS193P