Wrote Island checking code.