Shift register

I got it working. I can now control individual pins by specifying the pin number (Q0 to Q7). Also I'm able to toggle multiple pins high or low by specifying them in the serial monitor. Thanks for your suggestions!