Josephson Junction Arrays with Bose-Einstein Condensates