Fixed DSA implementation

Starting to work on key pair generation