Stuck - Please Help

while ((MirrorPositioned = 0) && (MirrorPinRead = LOW));Because of the semi colon at the end this single line is a complete while loop. Neither of the variables in the while condition are tested in the while loop so it will loop forever once it is entered.