Java-based Ulam Spiral (prime spiral) app