minor code example updates; ignore idea files