Spin function

Added the spin for cue ball