Added ascending and descending; examples; fixed indentation warning
added newlines to eof
Merge pull request #41 from bogdangaliceanu/master

Added ascending and descending; examples; fixed indentation warning