Multiple M-branes and 3-algebras