It would be very helpful if you took the time to draw a schematic of your circuit.
The picture you provided really isn't enough to understand what you are trying to do. (It's nearly impossible to tell where all of the connections or going or even what orientation the chips are plugged into the breadboard.)
Along with a proper schematic, code would help isolate software or hardware issues.