Added Queue and StopWatch implementations from Princeton codebase