add pseudocode for computerPlay