Solved problem D(Endless Knight) from Round 3 in 2008. Added IO files for this problem