Playing around with basic programming