sample khans code