Working on bowling question, stuck on pais