Assignemnt #106 and Finding Prime Numbers

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Finding Prime Numbers
/// File Name: FPN.java
/// Date Finished: 3/29/2016

public class FPN
    {
        public static void main(String[] args)
        {
            System.out.println( "2 <");
            for ( int z = 3 ; z < 21 ; z++ )
            {
                System.out.print("\z" + z + " ");
                if ( isP(z) == true ){
                    System.out.print("<");
                }
            }
        }
        
        public static boolean isP( int z )
        {
            boolean is = true;
            for ( int x = 2 ; y < z ; y++ )
            {
                if ( z % y == 0 ){
                    is = false;
                }
            }
            return is;
        }
    }