The people of Northern Ireland will vote to elect a new assembly on March 2 following the surprise resignation of the deputy first minister.