usaco 2.2 lamps

finished usaco 2.2