moved spin&shoot to algorithm class