Quantummechanical behaviour in a deterministic model