Update parser.cpp

Update header to 2-clause BSD license