Locally Recoverable Codes From Algebraic Curves