BinarySearch

Squashed commit of the following:

commit eac31f98e8293b99c2ae0e20bd6f4b36106f83f1
Author: Ferran Garriga <ferran.garriga@truphone.com>
Date:   Tue Mar 4 09:12:22 2014 +0000

    BinarySearch

commit 6dc5e959ba2210c9442d25ac2ea27fdbbeda97a7
Author: Ferran Garriga <ferran.garriga@truphone.com>
Date:   Mon Mar 3 10:50:59 2014 +0000

    work in progress