Make PromptSegment a new data type: Squashed commit of the following:

commit d383eb6fe1121cc1a0c991860912c59d4fe21145
Author: josiah14 <praenato14@gmail.com>
Date:   Thu Nov 13 22:49:36 2014 -0600

    refactor modules to accommodate next expansion

commit 79d4c3e63dd27ae4bef5c5b650680b424b872e3f
Author: josiah14 <praenato14@gmail.com>
Date:   Thu Nov 13 19:38:28 2014 -0600

    minor revision to allow more flexibility in prompt customization

commit c9b320eca4b68eb28d9c3309c0c90e65c33756dd
Author: josiah14 <praenato14@gmail.com>
Date:   Thu Nov 13 19:31:41 2014 -0600

    got program to compile and run with new type definition for PromptSegment

commit 92e72110d17c709f502c8defae97ca6fe35470af
Author: josiah14 <praenato14@gmail.com>
Date:   Thu Nov 13 18:56:48 2014 -0600

    fix bug in new function

commit 0f3ca75e68086fdac1dd1dcbf76012c1426b96c2
Author: josiah14 <praenato14@gmail.com>
Date:   Thu Nov 13 18:56:03 2014 -0600

    Refactor Main.hs some

commit 9dbbca661425f46f70946d57955a427effec01e9
Author: josiah14 <praenato14@gmail.com>
Date:   Thu Nov 13 18:51:26 2014 -0600

    Reformat the main.hs file according to the type change made to PromptSegment

commit 643a991de3a120585e06bbe8b292a2756c8caa03
Author: josiah14 <praenato14@gmail.com>
Date:   Wed Nov 12 22:56:37 2014 -0600

    minor lint fixes

commit 375a3718fd196e24694777a597f08278015e6072
Author: josiah14 <praenato14@gmail.com>
Date:   Wed Nov 12 22:48:03 2014 -0600

    rewrite buildMainPrompt function for the new datatype

commit 96ca869f86d4c1bf1a76d57b348d7c421ae67b00
Author: josiah14 <praenato14@gmail.com>
Date:   Wed Nov 12 01:43:18 2014 -0600

    minor refactoring to dry up the code

commit b5bd749a4bbc57c7d946cd10b6d94aa1e52e01c9
Author: josiah14 <praenato14@gmail.com>
Date:   Wed Nov 12 01:20:13 2014 -0600

    Make PromptSegment it's own data type and make it an instance of Functor and Monoid

commit 0b4c071aae762806f5717c1503a2e9476d5c60f0
Author: josiah14 <praenato14@gmail.com>
Date:   Sun Nov 9 13:47:25 2014 -0600

    fix minor lint

commit 1dc984885458dd9fc4b77750fcc411e94deea00d
Author: josiah14 <praenato14@gmail.com>
Date:   Sun Nov 9 13:45:38 2014 -0600

    fix type signature for currentDirectory