Created function library

Added a reverse, and isPalindrome. Also fixed bracket and indentation
styling on a few files.