Added a simple CSV parser

Added the necessary functionality for a simple (and bit clunky) CSV
parser.