Changed motor pins and adjusted digitalWrite to analogWrite