Sum Of All Element In Array Python Methods And Classes