public Deck(Graphics g){

		String cardName = "";

		//Goes through each suit, and in each suit it goes through each number creating a card.
		//if a card has a specific vaulue, it changes the name to represent that vaulue better.
		//This only applies to face cards.
		

		for (int i = 0; i < suitArray.length; i++ ) {
			for (int j = 0; j < valueArray.length; j++ ) {
				Card card = new Card(valueArray[j], suitArray[i]);

				if (valueArray[j] == 1) {
					cardName = "A" + suitArray[i];
				} else if (valueArray[j] == 11) {
					cardName = "J" + suitArray[i];
				} else if (valueArray[j] == 12) {
					cardName = "Q" + suitArray[i];
				} else if (valueArray[j] == 13) {
					cardName = "K" + suitArray[i];
				} else {
					cardName = valueArray[j] + suitArray[i];
				}

				poster = new MoviePoster(cardName);

				if (x > 1000) {
					x = 0;
					y += 75;
				}

				Rectangle a = new Rectangle(x,y,50,75);
				                                             
				poster.draw(g,a);

				x += 50;
			}
		}
	}