Cleaned up and optimized code. Created a for loop to add jellyfish to array.