Simple quantum algorithms with an electron in a Penning trap