Added a method for random shooting. Isn't perfect yet - the else body needs to be fixed