An introduction to bioinformatics algorithms