A simple genome-wide association study algorithm