I thought i'd have a go at inverse kinamatics! look inside, and change around the "joints" variable
everything is by me, even the algorithm