fixed some errors
attempting the methods of addition chains