added nested loop to potion function/modified fire function

Added a nested loop to the use potion function to satisfy project
requirements as well as rearanged the fire function code