Cocompact lattices on \tilde{A}_n buildings