Pulley Logic Gates