Truth-Liar-Random strategy program implemented in PHP