Added error strings
Removed main from chord.cpp