JAVA implementations for the SRMs of Topcoder