add -Wall flag to compilation (closes #1)