A brief introduction to quantum algorithms