what to study to become a lawyer