Source: http://vision.gel.ulaval.ca/~jflalonde/cours/1001/h15/exercices/25.%20Disque%20dur%20-%20solutions.pdf