closes #64 implemented int() for ECGroup