Simultaneous acquisition of vocabulary and grammar in an artificial language learning task