coding SKYNET (in java)