Replaced booleans upReqExists and downReqExists with integer equivalents which will prevent us from going through the boolean array unnecessarily if the requests are 0