Final Code

This is the code with embedded with relay variables.
Code works and grips the egg stack and all the sensors are tested.