added left and right to player  2 in barrier example for issue #2