worked on the methode for a quersumme