Arduino error: expected unqualified-id before '<' token

Try adding to the top of your program:

#include <LiquidCrystal.h>