code as on 25/01/2013 08:03 AM

straight was observed to work consistently for 18 on 20 trials