Demonstration of multi-qubit entanglement and algorithms on a programmable neutral atom quantum computer