Some testing code for AP CS