MASM prime number generator and sorter