Examples of different loop usage, different syntax used in php using Memory-Game