Like a compiler I stopped atbe first error. You also totally missuse the && operation, it has no place in a digital write.