finished implementing signature DSA