Maximum path sum II: Added -O2 and -Wall options. Fixed warning.