My codes for all programs