Two blocks are connected by a rope passing through a pulley. One block is on a table and has a mass of 1kg, the other is hanging and has a mass of 1Kg. The table and pulley are both frictionless. Find T, the tension in the connecting rope, and the acceleration of the blocks.