Third homework assignment