Flask Project for CS470 using book