adds ruby logic for non-persistent version of animal quiz