cleaned up formatting
created stock picker function
added substrings function