imported new Loop.cpp using select() from
testing branch so ppl can use it on ubuntu 14.04