implemented gripper.cpp, little debugging missing