add solution to 1504
Added solution to 1806, note to md file about POJ problems