If you are certain that all the parts are now installed correctly, you probably just have an air bubble in the master cylinder bore and it needs to be "primed". Position the MC with the outlet pointing upward and put your thumb loosely over the outlet port. Squeeze the lever all the way, then cap the outlet tightly with your thumb, preventing any expelled air from being sucked back into the MC bore. Repeat until the air is out and you build fluid pressure. You may have to top up the reservior part way through the process.
Kevin