Finished and tested ball lifter code