Added support for multiple devices.

This patch creates 10 devices (mydev<0-9>) under /dev/.
Each device has its own buffer, so the user can write data to
individual device and the data is not shared among those devices.

Signed-off-by: Ivan Gomez Castellanos <ivan.gomez.castellanos@gmail.com>